package com.zmm.book.keep.service.impl;

import com.zmm.book.keep.dao.TypeDao;
import com.zmm.book.keep.model.Type;
import com.zmm.book.keep.service.TypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Description:
 * @Name TypeServiceImpl
 * @Author Zebulon
 * @Date By 2021-10-08 21:58:03
 */
@Service
public class TypeServiceImpl implements TypeService {


    @Resource
    private TypeDao typeDao;

    @Override
    public List<Type> searchAllType() {
        return typeDao.selectAllType();
    }
}
